<template>
	<view class="container">
		
		<!-- <web-view src="/hybrid/html/local3.html"></web-view> -->
		
		<view class="icon">
			<u-icon name="checkbox-mark" size="200" color="#39B19D"></u-icon>
			<view class="text">支付成功</view>
		</view>
		<view class="back">
			<u-button size="large" @click="back"><u-count-down :time="10 *1000" format="ss"></u-count-down>
				返回</u-button>
		</view>
	</view>

	
</template>


<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			back() {
				uni.reLaunch({
					url: "/pages/order/order"
				})
			}
		},
		onLoad(option) {
			// console.log(option)
			let params = new URLSearchParams(window.location.search)
			console.log(params,'params')
			
			
			// let options = page.options
			// console.log(options,'options')
		},
		// mounted() {
		// 	let current = getCurrentPages()
		// 	// console.log(current,'current')
		// 	let page = current[current.length - 1]
		// 	// console.log(page,'page')
		// 	console.log(page)
		// }
	}
</script>

<style lang="less" scoped>
	.container {
		width: 100vw;
		height: 100vh;
		background-color: #fff;
		display: flex;
		flex-direction: column;
		padding: 30rpx;
		box-sizing: border-box;
		align-items: center;
		// justify-content: center;

		.icon {
			margin-top: 300rpx;
			display: flex;
			flex-direction: column;
			align-items: center;

			.text {
				font-size: 40rpx;
				text-align: center;
			}
		}

		.back {
			margin-top: 100rpx;

			/deep/ .u-button {
				font-size: 40rpx !important;
			}

			/deep/ .u-count-down__text {
				font-size: 40rpx !important;
			}
		}
	}
</style>